<!doctype html>
<html class="no-js">

<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>名片管理</title>
<meta name="description" content="名片管理">
<meta name="keywords" content="table">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="renderer" content="webkit">
<meta http-equiv="Cache-Control" content="no-siteapp" />
<link rel="icon" type="image/png" href="__PUBLIC__/assets/i/favicon.png">
<link rel="apple-touch-icon-precomposed" href="__PUBLIC__/assets/i/app-icon72x72@2x.png">
<meta name="apple-mobile-web-app-title" content="Amaze UI" />
<link rel="stylesheet" href="__PUBLIC__/assets/css/amazeui.min.css" />
<link rel="stylesheet" href="__PUBLIC__/assets/css/admin.css">
</head>

<body>
<!--[if lte IE 9]>
<p class="browsehappy">你正在使用<strong>过时</strong>的浏览器，暂不支持。 请 <a href="http://browsehappy.com/" target="_blank">升级浏览器</a>
  以获得更好的体验！</p>
<![endif]-->

<header class="am-topbar am-topbar-inverse admin-header">
	<div class="am-topbar-brand">
		<strong>梧桐珆</strong> <small>名片管理系统</small>
	</div>

	<button class="am-topbar-btn am-topbar-toggle am-btn am-btn-sm am-btn-success am-show-sm-only" data-am-collapse="{target: '#topbar-collapse'}"><span class="am-sr-only">导航切换</span> <span class="am-icon-bars"></span></button>

	<div class="am-collapse am-topbar-collapse" id="topbar-collapse">

		<ul class="am-nav am-nav-pills am-topbar-nav am-topbar-right admin-header-list">
			<li>
				<a href="javascript:;"><span class="am-icon-envelope-o"></span> 收件箱 <span class="am-badge am-badge-warning">0</span></a>
			</li>
			<li class="am-dropdown" data-am-dropdown>
				<a class="am-dropdown-toggle" data-am-dropdown-toggle href="javascript:;">
					<span class="am-icon-users"></span> 管理员 <span class="am-icon-caret-down"></span>
				</a>
				<ul class="am-dropdown-content">
					<li>
						<a href="#"><span class="am-icon-user"></span> 资料</a>
					</li>
					<li>
						<a href="#"><span class="am-icon-cog"></span> 设置</a>
					</li>
					<li>
						<a href="#"><span class="am-icon-power-off"></span> 退出</a>
					</li>
				</ul>
			</li>
		</ul>
	</div>
</header>

<div class="am-cf admin-main">
	<!-- sidebar start -->
	<div class="admin-sidebar am-offcanvas" id="admin-offcanvas">
		<div class="am-offcanvas-bar admin-offcanvas-bar">
			<ul class="am-list admin-sidebar-list">
				<li>
					<a href="{:U('Admin/index')}"><span class="am-icon-home"></span>名片管理</a>
				</li>
				<li>
					<a href="{:U('Admin/company')}"><span class="am-icon-pencil-square-o"></span> 公司管理</a>
				</li>
				<li>
					<a href="{:U('Admin/companytype')}"><span class="am-icon-pencil-square-o"></span> 公司类型</a>
				</li>
				<li>
					<a href="#"><span class="am-icon-sign-out"></span> 注销</a>
				</li>
			</ul>

		</div>
	</div>
	<!-- sidebar end -->

	<!-- content start -->
	<div class="admin-content">
		<div class="admin-content-body">
			<div class="am-cf am-padding am-padding-bottom-0">
				<div class="am-fl am-cf"><strong class="am-text-primary am-text-lg">名片管理</strong> / <small>Card</small></div>
			</div>
			<hr>
			<div class="am-g">
				<div class="am-u-sm-12 am-u-md-6">
					<div class="am-btn-toolbar">
						<div class="am-btn-group am-btn-group-xs">
							<button type="button" class="am-btn am-btn-default" onclick="location.href='{:U('add')}'"><span class="am-icon-plus"></span> 新增</button>
							<button type="button" class="am-btn am-btn-default"><span class="am-icon-trash-o"></span> 删除</button>
						</div>
					</div>
				</div>
			</div>
			<div class="am-g">
				<div class="am-u-sm-12">
					<form class="am-form">
						<table class="am-table am-table-striped am-table-hover table-main">
							<thead>
								<tr>
									<th class="table-check"><input type="checkbox" /></th>
									<th class="table-id">ID</th>
									<th class="table-title">姓名</th>
									<th class="table-type">头像</th>
									<th class="table-author am-hide-sm-only">公司</th>
									<th class="table-date am-hide-sm-only">手机号码</th>
									<th class="table-set">微信</th>
									<th class="table-type">语言</th>
									<th class="table-type">在职</th>
									<th class="table-type">状态</th>
									<th class="table-set">操作</th>
								</tr>
							</thead>
							<tbody>
								<volist name="lists" id="v">
								<tr>
									<td><input type="checkbox" /></td>
									<td>{$v['id']}</td>
									<td>
										<a href="{:U('Card/index',array('id'=>$v['id']))}" target="_blank">{$v['name']}</a>
									</td>
									<td>{$v['head_img']}</td>
									<td class="am-hide-sm-only">{$v['company']}</td>
									<td class="am-hide-sm-only">{$v['moblie_phone']}</td>
									<td>{$v['weixin']}</td>
									<td>{$v['language']}</td>
									<td>{$v['job']}</td>
									<td>{$v['status']}</td>
									<td>
										<div class="am-btn-toolbar">
											<div class="am-btn-group am-btn-group-xs">
												<button class="am-btn am-btn-default am-btn-xs am-text-secondary"><span class="am-icon-pencil-square-o"></span> 编辑</button>
												<a class="am-btn am-btn-default am-btn-xs am-hide-sm-only" href="/qr/{$v['id']}"><span class="am-icon-copy"></span> 二维码</a>
												<button class="am-btn am-btn-default am-btn-xs am-text-danger am-hide-sm-only"><span class="am-icon-trash-o"></span> 删除</button>
											</div>
										</div>
									</td>
								</tr>
							</volist>
							</tbody>
						</table>
						<hr>
						<div class="am-cf">
							{$page_show}
						</div>
					</form>
				</div>
			</div>
		</div>

		<footer class="admin-content-footer">
			<hr>
			<p class="am-padding-left">© 2016 梧桐珆 全球原创设计师圆梦台</p>
		</footer>

	</div>
	<!-- content end -->
</div>

<a href="#" class="am-icon-btn am-icon-th-list am-show-sm-only admin-menu" data-am-offcanvas="{target: '#admin-offcanvas'}"></a>

<footer>
	<hr>
	<p class="am-padding-left">© 2016 梧桐珆 全球原创设计师圆梦台</p>
</footer>

<!--[if lt IE 9]>
<script src="http://libs.baidu.com/jquery/1.11.1/jquery.min.js"></script>
<script src="http://cdn.staticfile.org/modernizr/2.8.3/modernizr.js"></script>
<script src="__PUBLIC__/assets/js/amazeui.ie8polyfill.min.js"></script>
<![endif]-->

<!--[if (gte IE 9)|!(IE)]><!-->
<script src="__PUBLIC__/assets/js/jquery.min.js"></script>
<!--<![endif]-->
<script src="__PUBLIC__/assets/js/amazeui.min.js"></script>
<script src="__PUBLIC__/assets/js/app.js"></script>
</body>

</html>